package cn.cloud.mqtt2redis.configuration.mysql;

import lombok.Data;

import java.io.Serializable;

@Data
public class IdClass implements Serializable {
    //private static final long serialVersionUID = 1L;
    private String device;
    private String name;
    public String getDevice() {
        return this.device;
    }
    public void setDevice(String device){
        this.device = device;
    }
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public IdClass(){}
    public IdClass(String device,String name){
        this.device=device;
        this.name=name;
    }
}
